package com.ztk.mock;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mock")
public class MockController {

    @Autowired
    private MockServiceImpl mockService;

    @PostMapping("/demo")
    public String mockDemo() {
        return  mockService.mockService();
    }
}
